import pytest,os,sys
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(root_path)
from month_8_8.Tools.Tools import Tools
if __name__ == '__main__':
    Tools().log()
    pytest.main([r'C:\Users\张震海\Desktop\month_1\month_8_8\Case\Case.py','-s','--clean-alluredir','--alluredir=./report'])
    os.system('allure generate ./report -o ./html --clean')
    Tools().e_mail()
